package ml.classification.filter;

import java.util.ArrayList;

public class SpeechAlways1Filter extends PostProcessingFilter {

	public SpeechAlways1Filter() {
		super();
	}

	@Override
	public ArrayList<Integer> apply(final ArrayList<Integer> list) {

		final ArrayList<Integer> newList = new ArrayList<>(list.size());

		for (int i = 0; i < list.size(); i++) {
			newList.add(1);
		}

		return newList;
	}

	@Override
	public String getFilterName() {
		return "SpeechAlways1Filter";
	}

}
